import {
	WeaTools
} from 'ecCom';

export const getSubcompanyList = (params) => {
	return WeaTools.callApi('/api/hrm/orgtree/getSubcompanyList', 'GET', params)
}
export const getSearchCondition = (params) => {
	return WeaTools.callApi('/api/hrm/orgtree/getHrmSearchCondition', 'GET', params)
}
export const saveHrmSearchUserDefine = (params) => {
	return WeaTools.callApi('/api/hrm/search/saveHrmSearchUserDefine', 'POST', params)
}
export const getSearchResult = (params) => {
	return WeaTools.callApi('/api/hrm/orgtree/getHrmSearchResult', 'GET', params)
}
export const getRightMenu = (params) => {
	return WeaTools.callApi('/api/hrm/orgtree/getRightMenu', 'GET', params)
}